package com.ruoyi.bizsys.mapper;

import com.ruoyi.bizsys.domain.ExtPaystackCustVaResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * 创建paystack虚拟帐户流程Mapper接口
 *
 * @author african-loan
 * @date 2022-07-20
 */
public interface ExtPaystackCustVaResultMapper extends BaseMapper<ExtPaystackCustVaResult>{

    ExtPaystackCustVaResult getDetailByCustNo(String custNo);

    void updateStatusByCustomerId(@Param("customerId") String customerId, @Param("status") int status);

    ExtPaystackCustVaResult getDetailByCustomerId(String customerId);
}